﻿using System;
using System.Collections;

namespace Lswweb.IDAL
{
    public interface ISiteSettings
    {
        /// <summary>
        /// 根据Id获取配置信息
        /// </summary>
        /// <param name="settingId">配置Id</param>
        /// <returns>返回配置信息</returns>
        Hashtable GetSettings(int settingId,string ver);

        /// <summary>
        /// 添加新的配置信息，将会自动删除同settingId的旧配置信息
        /// </summary>
        /// <param name="settingId">配置Id</param>
        /// <param name="settings">配置信息</param>
        void Insert(int settingId, Hashtable settings,string ver);
    }
}
